<template>
  <div
    style="display: flex;
    flex-direction: column;flex:1"
  >
    <el-row style="flex:1" class="padding_top_10" :gutter="20">
      <el-col class="card" :span="12">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>卡片名称</span>
            <el-button style="float: right; padding: 3px 0" type="text">
              操作按钮
            </el-button>
          </div>
          <div class="text item">
            <lineChart style="width:100%"></lineChart>
          </div>
        </el-card>
      </el-col>
      <el-col class="card" :span="12">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>卡片名称</span>
            <el-button style="float: right; padding: 3px 0" type="text">
              操作按钮
            </el-button>
          </div>
          <div class="text item">
            <barChart style="width:100%"></barChart>
          </div>
        </el-card>
      </el-col>
    </el-row>
    <el-row style="flex:1" class="" :gutter="20">
      <el-col class="card" :span="12">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>卡片名称</span>
            <el-button style="float: right; padding: 3px 0" type="text">
              操作按钮
            </el-button>
          </div>
          <div class="text item">
            xxx
          </div>
        </el-card>
      </el-col>
      <el-col class="card" :span="12">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>卡片名称</span>
            <el-button style="float: right; padding: 3px 0" type="text">
              操作按钮
            </el-button>
          </div>
          <div class="text item">
            xxx
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import lineChart from "@/components/echarts/lineChart.vue";
import barChart from "@/components/echarts/barChart.vue";
export default {
  data() {
    return {};
  },
  //外部属性
  props: {},
  //内部方法
  methods: {
    initPage() {}
  },
  //组件
  components: { lineChart, barChart },
  //初始化 异步加async await
  mounted() {
    this.initPage();
  },
  //计算属性
  computed: {},
  //监视
  watch: {}
};
</script>

<style lang="scss" scoped>
.box-card {
  min-height: 300px;
}
.item {
  /deep/ .orderArea {
    height: 200px;
  }
}
</style>
